home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form1
- Caption = "Form1"
- ClientHeight = 4125
- ClientLeft = 1140
- ClientTop = 1515
- ClientWidth = 3450
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 4125
- ScaleWidth = 3450
- Begin VB.TextBox Text8
- Height = 285
- Left = 240
- TabIndex = 8
- Text = "Text1"
- Top = 2520
- Width = 3000
- End
- Begin VB.TextBox Text7
- Height = 285
- Left = 240
- TabIndex = 7
- Text = "Text2"
- Top = 2880
- Width = 3000
- End
- Begin VB.TextBox Text6
- Height = 285
- Left = 240
- TabIndex = 6
- Text = "Text1"
- Top = 1800
- Width = 3000
- End
- Begin VB.TextBox Text5
- Height = 285
- Left = 240
- TabIndex = 5
- Text = "Text2"
- Top = 2160
- Width = 3000
- End
- Begin VB.TextBox Text4
- Height = 285
- Left = 240
- TabIndex = 4
- Text = "Text1"
- Top = 1080
- Width = 3000
- End
- Begin VB.TextBox Text3
- Height = 285
- Left = 240
- TabIndex = 3
- Text = "Text2"
- Top = 1440
- Width = 3000
- End
- Begin VB.TextBox Text2
- Height = 285
- Left = 240
- TabIndex = 2
- Text = "Text2"
- Top = 720
- Width = 3000
- End
- Begin VB.CommandButton Command1
- Caption = "Clear Text"
- Height = 495
- Left = 240
- TabIndex = 1
- Top = 3480
- Width = 1215
- End
- Begin VB.TextBox Text1
- Height = 285
- Left = 240
- TabIndex = 0
- Text = "Text1"
- Top = 360
- Width = 3000
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Command1_Click()
- Dim ctl As Control
- ' Clear all the TextBoxes on the form.
- For Each ctl In Controls
- If TypeOf ctl Is TextBox Then _
- ctl.Text = ""
- Next ctl
- End Sub
-